package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * <p>
 * 服务流程字段表
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
@Data
public class TProcessValueUpdateParam {

    /**
     * 服务进度ID
     */
    @NotNull(message = "服务进度ID不能为空")
    @Min(value = 1, message = "服务进度ID有误")
    @ApiModelProperty(value = "服务进度ID",example = "1")
    private Integer tValueId;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空")
    @Size(min = 0,max = 10, message = "状态无误")
    @ApiModelProperty(value = "状态")
    private String status;


}
